<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <h:head>
        <title>Yönetici Girişi</title>
        <link href="style.css" rel="stylesheet" type="text/css"></link>
        <div style="text-align: center;"><h:graphicImage url="/resimler/itu_Logo.png"></h:graphicImage></div>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&amp;amp;language=tr"></script> 

    </h:head>
    <h:body>
        <h:form id="adminlogin" prependId="false">
            <div id="wrapper">
                <div id="logo">

                </div>
                <div id="header">
                    <!-- 		<div id="menu">
                    
                            </div>    -->
                </div>
                <div class="page">
                    <div id="page-bgtop">

<div id="dummy"></div>
                       
                        <!-- end #sidebar -->
                        
   <div id="content">
                           
   
        <p:panel id="adminloginpanel" header="Giriş İçin Bilgiler" style="width: 450px;height: 220px">  
 		<h:panelGrid columns="2">
                  <h:outputText value="Kullanıcı Adı: " />  
                  <h:inputText id="username" value="#{AdminBean.username}" required="true" requiredMessage="Kullanıcı adı boş olamaz!"/>
                  
                           
                    <h:outputText value="Şifre:         " />  
                    <p:password minLength="1" id="password" value="#{AdminBean.password}" feedback="false" required="true" requiredMessage="Şifre alanı boş olamaz!"/>

                    <p:commandButton value="Oturum Aç" update="adminloginpanel" ajax="false" actionListener="#{AdminBean.login}" ></p:commandButton> 	

            </h:panelGrid>  
            
                          
  </p:panel> 
                        </div>
                        <!-- end #content -->

                        <div style="clear: both;">&nbsp;</div>
                    </div>

                    <!-- end #page -->

                </div>
                <div id="footer-bgcontent">
                    <div id="footer" align="center">
                        <p>İTÜ Mekik Servis Takip Programı - 2011</p>
                    </div>
                </div>
                <!-- end #footer -->
            </div>

       </h:form>
    </h:body>
</html>






















